<?php
echo 'heeeeeeeeeeeeeeeeeeee';
if (!defined('WEB_ROOT')) {
	exit;
}

// make sure a mannc exists
if (isset($_GET['mannc']) && (int)$_GET['mannc'] > 0) {
	$mannc = $_GET['mannc'];
} else {
	header('Location:index.php');
}	
	
$sql = "SELECT *
		FROM nhomnc
		WHERE mannc = $mannc";
$result = dbQuery($sql);
$row = dbFetchAssoc($result);
extract($row);
?>
<p>&nbsp;</p>
<form action="processGroup.php?action=modify&mannc=<?php echo $mannc; ?>" method="post" enctype="multipart/form-data" name="frmGroup" id="frmGroup">
 <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable">
  
  <tr> 
   <td width="150" class="label">Tên nhóm nghiên cứu</td>
   <td class="content"> <input name="txtTennnc" type = "text" class="box" id="txtTennnc"><?php echo $tennnc; ?></td>
  </tr>
  <tr> 
   <td width="150" class="label">Ngày thành lập</td>
   <td class="content"> <input name="txtNgaythanhlap" type = "text" class="box" id="txtNgaythanhlap"><?php echo $ngaythanhlap; ?></td>
  </tr>
 </table>

 <p align="center"> 
  <input name="btnModify" type="button" id="btnModify" value="Save Modification" onClick="checkGroupForm();" class="box">
  &nbsp;&nbsp;<input name="btnCancel" type="button" id="btnCancel" value="Cancel" onClick="window.location.href='index.php';" class="box">
 </p>

</form>